package com.baizan.daka.ui.contract

import com.baizan.daka.base.IPresenter
import com.baizan.daka.base.IView
import com.baizan.daka.mvp.model.bean.*
import com.baizan.daka.net.BasePageResponse
import com.baizan.daka.net.bean.UserTeamDesBean
import java.util.*

interface MyTeamContract {

    interface View : IView {

        fun loadSuccess(date: List<MyTeam>)

        fun loadTeamDes(data:BasePageResponse<UserTeamDesBean>)

        fun loadTeamDesFail()

    }

    interface Presenter : IPresenter {

        fun loadData(page: Int)

        fun loadTeamDes(page: Int,teamLevel: Int)
    }
}